package com.azzaou.service;

import java.util.List;

import com.azzaou.model.CategorieMarchandise;
import com.azzaou.model.CategorieMarchandise;
import com.azzaou.model.Marchandise;
import com.azzaou.model.Marchandise;

public interface IMarchandiseService {
	
	
	public List<Marchandise> getMarchandiseByCriteria(Marchandise marchandise);
	public void saveOrUpdateMarchandise(Marchandise marchandise);
	public void removeMarchandise(Marchandise marchandise);
	public void saveOrUpdateCategorie(CategorieMarchandise categorieMarchandise);
	public void removeCategorie(CategorieMarchandise categorieMarchandise);
	public List<String> marchandisesByNames(String begin);
	public List<Marchandise> getAllActifMarchandise();
	public List<CategorieMarchandise> getAllCategorie();  
	public CategorieMarchandise getCategorieMarchandiseById(Long id);
	Marchandise getMarchandiseById(Long id); 
	
}
